<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/11/17
  Time: 20:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        Cookie[] cookies = request.getCookies();
        for (Cookie cookie1 : cookies) {
            if(cookie1.getName().equals("username")){
                out.write(cookie1.getValue()+" 欢迎回来~");
            }
        }
    %>
    <a href="/cookie_logout">退出登录</a>
</body>
</html>
